year
DateTimeRec structure
#include <OSUtils.h>
typedef struct DateTimeRec { Size Offset Description
short year; 2 0 Year (1904...2040)
short month; 2 2 Month (1=January...12=December)
short day; 2 4 Day (1...31)
short hour; 2 6 Hour (0...23)
short minute; 2 8 Minute (0...59)
short second; 2 10 Second (0...59)
short dayOfWeek; 2 12 Week day (1=Sunday...7=Saturday)
} DateTimeRec 14

Notes: The DateTimeRec structure is used in calls to Date2Secs, Secs2Date,
When using Date2Secs, you need not maintain valid values in the fields of
the DateTimeRec. For instance, you can add 14 to the day field (making it,
say, 43), convert it to seconds and back to DateTimeRec to find what the date
will be in a fortnight.
The IUDateString and IUTimeString functions may be what you need:
they convert raw seconds into a human-readable text string of the date or
time.